const equipmentRotes = [
  {
    name: '设备管理平台', path: '/app/equipment', component: () => import('@/views/equipment/layout/LayoutContainer.vue'),
    redirect: '/equipment/homepage',
    children: [
      { name: '首页', path: '/equipment/homepage', icon: 'iconfont icon-shouye', component: () => import('@/views/equipment/HomePage.vue') },
      {
        name: '设备信息', path: '/equipment/device', icon: 'iconfont icon-shebeixinxi', redirect: '/equipment/deviceledger', children: [
          { name: '设备台账', path: '/equipment/deviceledger', component: () => import('@/views/equipment/device/DeviceLedger.vue') },
          { name: '设备告警', path: '/equipment/devicealarm', component: () => import('@/views/equipment/device/DeviceAlarm.vue') },
          { name: '设备处置', path: '/equipment/deviceHandling', component: () => import('@/views/equipment/device/DeviceHandling.vue') },
        ]
      },
      {
        name: '设备运维', path: '/equipment/maintenance', icon: 'iconfont icon-shebeiyunwei', redirect: '/equipment/mtorders', children: [
          { name: '运维工单', path: '/equipment/mtorders', component: () => import('@/views/equipment/maintenance/orders/MaintenanceOrders.vue') },
          { name: '设备润滑', path: '/equipment/lude', component: () => import('@/views/equipment/maintenance/lude/LudePage.vue') },
          { name: '设备保养', path: '/equipment/maintain', component: () => import('@/views/equipment/maintenance/maintain/MaintainPage.vue') },
          { name: '设备点检', path: '/equipment/check', component: () => import('@/views/equipment/maintenance/check/CheckPage.vue') },
          { name: '检查项管理', path: '/equipment/project', component: () => import('@/views/equipment/maintenance/project/ProjectPage.vue') }
        ]
      },
      {
        name: '备品备件', path: '/equipiment/spareparts', icon: 'iconfont icon-beipinbeijian', redirect: '/equipment/inventoryledger', children: [
          { name: '库存台账', path: '/equipment/inventoryledger', component: () => import('@/views/equipment/inventory/InventoryLedgerPage.vue') },
          { name: '领料申请', path: '/equipment/pickingrequisition', component: () => import('@/views/equipment/inventory/PickingRequisitionPage.vue') },
          { name: '入库管理', path: '/equipment/inbound', component: () => import('@/views/equipment/inventory/InboundPage.vue') },
          { name: '出库管理', path: '/equipment/outbound', component: () => import('@/views/equipment/inventory/OutboundPage.vue') },
          { name: '物料管理', path: '/equipment/material', component: () => import('@/views/equipment/inventory/MaterialPage.vue') },
          { name: '备件库设置', path: '/equipment/splibsetting', component: () => import('@/views/equipment/inventory/SplibsettingPage.vue') },
        ]
      },
      {
        name: '统计报表', path: '/equipment/records#', icon: 'iconfont icon-BIshujuzhongxin', children: [
          { name: '运维工单统计', path: '/equipment/orderrecords' },
          { name: '维修统计', path: '/equipment/mtrecords' },
          { name: '备品备件统计', path: '/equipment/sprecords' },
        ]
      },
      {
        name: '检修管理', path: '/equipment/repair', icon: 'iconfont icon-jianxiuguanli_jianxiujilu', children: [
          { name: '检修管理1', path: '/equipment/repair1' },
        ]
      },
      {
        name: '基础信息', path: '/equipment/baseinfo', icon: 'iconfont icon-jichuxinxiguanli-01', children: [
          { name: '字段设置', path: '/equipment/field', component: () => import('@/views/equipment/baseinfo/FieldPage.vue') },
          { name: '流程配置', path: '/equipment/process', component: () => import('@/views/equipment/baseinfo/ProcessDef.vue') }

        ]
      },
      {
        name: '知识库', path: '/equipment/knowledgelibt', icon: 'iconfont icon-zhishiku', children: [
          // { name: '故障库', path: '/equipment/fault', component: () => import('@/views/equipment/knowledgelib/FaultLib.vue') },
          { name: '知识库查看', path: '/equipment/knowledgelib', component: () => import('@/views/equipment/knowledgelib/KnowledgeLib.vue') },
          // { name: '规章制度', path: '/equipment/rules', component: () => import('@/views/equipment/knowledgelib/RulesLib.vue') },
          { name: '知识库管理', path: '/equipment/knowledgelibm', component: () => import('@/views/equipment/knowledgelib/KnowledgeLibM.vue') },
        ]
      },



      { name: '新增设备', path: '/equipment/adddevice', meta: { isHide: true }, component: () => import('@/views/equipment/device/AddDevicePage.vue') },
      { name: '编辑润滑策略', path: '/equipment/addludetactics/:id', meta: { isHide: true }, component: () => import('@/views/equipment/maintenance/lude/AddLudeTactics.vue') },
      { name: '编辑保养策略', path: '/equipment/addmaintaintactics', meta: { isHide: true }, component: () => import('@/views/equipment/maintenance/maintain/AddMaintainTactics.vue') },
      { name: '编辑点检策略', path: '/equipment/addchecktactics', meta: { isHide: true }, component: () => import('@/views/equipment/maintenance/check/AddCheckTactics.vue') },
      { name: '库存台账明细', path: '/equipment/inventorydetail/:id', meta: { isHide: true }, component: () => import('@/views/equipment/inventory/components/InventoryLedgerDetail.vue') },
      { name: '入库单明细', path: '/equipment/inbounddetail/:batchno', meta: { isHide: true }, component: () => import('@/views/equipment/inventory/components/InboundDetail.vue') },
      { name: '出库单明细', path: '/equipment/outbounddetail/:batchno', meta: { isHide: true }, component: () => import('@/views/equipment/inventory/components/OutboundDetail.vue') },
    ]
  }
]

export default equipmentRotes